modified get_published_courses in order to return also the service level