added harder validation to user model