added validations for when registered users/providers visit users/new and providers/new