findByCourseId for events