added mongodb dependency
connected db to index.js