changed validation when creating users