Updated base.js to send course category information