Added function to simply enable CORS by setting the headers