public function clearAuthentication() { if ($this->isAuthenticated()) { Account::getAuthenticationService()->clearIdentity(); } }