Added CORS support to server to support web UI