load course by id in url