/**
  * Handle an incoming request.
  *
  * @param  \Illuminate\Http\Request  $request
  * @param  \Closure  $next
  * @return mixed
  */
 public function handle($request, Closure $next)
 {
     if ($this->auth->guest()) {
         return redirect()->route('login');
     }
     return $next($request);
 }
 /**
  * Logout page
  *
  * @return \Illuminate\Http\RedirectResponse
  */
 public function logout()
 {
     $this->auth->logout();
     return redirect()->route('login');
 }