auth check when enrolling in course