Wrote routes and functions for getting and adding ratings to and for courses