Add CORS
Add json to index method ClassMonitorController
Remove CORS
Allow only certain params for json