implemnt add a course functionality