Prevent user from enrolling in class multiple times