public function logout() { $logout = SessionHandler::logout(); $this->emitResponse($logout, 'user', "User is not logged in."); }