added db and server config to web.js