Show form error if user enters repeated email during registration. Generate valid email confirmation url and send it by email after successful registration.
Fix confirm email link in confirm-email letter.
Show message that email was sent after successful registration.
Confirm user's email after confirmation link page loading.
Send password recovery email if valid email is entered. Reset password if user enters password at valid URL.