change user validation when registering