[fix] fixed validation when register an user

because it's already defined in line 53