Inviting and enrolling students in a course