Add CORS filter and update application configuration