added email required field, password reset