added mongoose dependencies
moved configuration in app.js to config.js; added mongoose configuration
added the users model