Courses and course formats

Preventing a user from doing a course again