add validations for Users and courses