public function authenticate()
{
if (parent::authenticate()) {
$this->setState(self::AUTH_DATA_KEY, ['email' => $this->email, 'uid' => $this->getId(), 'service' => $this->getServiceName(), 'type' => $this->getServiceType()]);
return true;
}
return false;
}