added course add functionalities

only local changes