Cache the call to api/courses (query)

This caches the call for each user so we don't constantly requery Mongo