Added functions for creation of course and view of courses teached by the logged user