working on user model with validation