updated mongoose.js and removed node_modules from gitignore files