user()) { $jwtService->refreshIfNeeded($request->user()); } return $next($request); } }