public function logoutAction() { UserManagement::closeSession(); echo BASE_PATH; header('Location: http://' . BASE_PATH . "index/login"); }