get all the course information if there is no code