Added Access-Control-Allow-Origin to index view