added functions to ApiClient and changes in index.php - courses/program - show all courses if it set without parameters