fixed validations on page and user model