/** * De-Authenticates the user * * @param void * @return Zend\Http\PhpEnvironment\Response **/ public function logoutAction() { $this->_userService->logout(); return $this->redirect()->toRoute('blog/default'); }