Finish course and lesson adding functions