pub async fn get_course_by_slug( conn: &mut PgConnection, course_slug: &str, ) -> ModelResult<Course>