Fixed db uri in chat.js