switched to mongoose
Updated db.js for mongoose
got get working with mongoose