Enrolling students in a class using an enrollment code