/** * Logouts user from the system */ public function logoutAction() { Token::clear(); $this->redirect('/'); }