Add validations to courses