added course adding functionalities