added a service and controller to call the course API to get the details.