/**
  * Create a new filter instance.
  *
  */
 public function __construct()
 {
     $this->auth = Auth::candidate();
 }
 /**
  * Logout the candidate
  *
  * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
  */
 public function getLogout()
 {
     Auth::candidate()->logout();
     return redirect()->route('candidate.login');
 }