Added API for retrieving created courses for an instructor.
Added the registered courses to the student page and added the created courses to the instructor page.