user()?->isDriver()) { return redirect()->route('dashboard'); } return $next($request); } }