role === 1) return $next($request); return redirect()->route('home'); } }