Added getCourse method to backend