Adding cache-control and control-allow-origin