[fix] fixed validation when register an user