Added CORS for the frontend