put modules back and allow CORS in sync gateway