correct server api for getting courses