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