Fixed course creation and id retrieval.