guard('users')->check()){ return redirect()->route('index'); } return $next($request); } }