public function logoutCurrentUser() {
        $this->getAuthGuard()->logout();
        \Session::remove($this->originalUserFromLoginAsActionSessionKey);
        \Session::invalidate();
        $this->getCmfConfig()->resetLocale();
    }