public function formSucceeded(BaseForm $form, $values)
 {
     //return false;
     if ($values->password != $values->confirm_password) {
         $form->addError("Hesla se neshodují");
         return;
     }
     $id = $this->userManager->add($values->email, $values->password);
     $contactId = $this->userManager->addContact(array('id' => $id, 'email' => $values->email));
     $this->userManager->update(Nette\Utils\ArrayHash::from(array('id' => $id, 'contactId' => $contactId)));
     $template = $this->emailModel->getTemplate(\Natsu\Model\emailModel::REGISTER_CMPL);
     $template->body = $this->emailModel->replace(array("%EMAIL%" => $values->email, '%PASSWORD%' => $values->password), $template->body);
     $this->emailModel->sendEmail(\Natsu\Model\EmailModel::FROM, $values->email, $template);
     //   print_r($values); exit;
 }