/**
  * Validates the user.
  */
 public function validateUser()
 {
     $user = User::findByEmail($this->email);
     if (!$user) {
         $this->addError('username', Yii::t('maddoger/user', 'User with this email does not exist.'));
     }
 }