check() && auth()->user()->is_author === 0) { $notify[] = ['error', 'You are not an author. For being an author, please provide these information']; return to_route('user.author.form')->withNotify($notify); } return $next($request); } }