[fix] fixed validation when register an user

why don't we need this anymore?