check()) { return redirect('/home'); } } return $next($request); } }