implemented adding a student to a course