[fix] fixed validation when register an user

the validation does not fail for empty photo URLs, i.e. this attribute is not required?