public function logout()
{
$this->_setDefaults();
if (empty($this->_authenticateObjects)) {
$this->constructAuthenticate();
}
$user = (array) $this->user();
$this->dispatchEvent('Auth.logout', [$user]);
$this->storage()->redirectUrl(false);
$this->storage()->delete();
return Router::normalize($this->_config['logoutRedirect']);
}