Add CORS
Add cors for 500 too