added email field and confirm email address functionality