[fix] fixed validation when register an user

unused import