Added validation to Courses