add courses page and retrieve course data from DB