Added a proper e-mail validation for registration page