Registering a student to a course