private function logout() { $this->loginModel->logoutUser(); $this->loginView->forgetUser(); $this->loginView->setLogoutSucceeded(); $this->loginView->reloadPage(); }