used common mongo db connection