User server as  proxy server preventing cors

Added support for proxy
Changed config call for database and schemas