Bugs fixes.

- Fixed an check of a registered mail.
- Fixed verification of registration.