public function removeLogin($login)
    {
        if (isset($this->logins[$login])) {
            unset($this->logins[$login]);

            $this->dispatcher->dispatch(self::EVENT_REMOVE_USER, [$this, $login]);
        }

        if (!$this->isPersistent() && empty($this->logins)) {
            $this->dispatcher->dispatch(self::EVENT_DESTROY, [$this, $login]);
        }
    }