to('/login')->with('login-error','You need to Login to gain access'); } return $next($request); } }