added feature to edit and add new course to courses