Add support of email confirmation and set password functionality