added course controller, functions to pull data seperately