add selectByCourseId method to moduleModel