used database is now determined by looking at the mongo url