Application now uses Mongoose and properly interacts with MongoDB