validates user model regex