auth->check()) { return '/'; } return $next($request); } }