added get and post for profs and working on get an post for courses