open courses with course_id and teacher_id