Find or create functionality for courses