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