[fix] fixed email validation when register an user