when creating a course in html retrieve data from the server