added validations for user and reward models