following http://cwbuecheler.com/web/tutorials/2013/node-express-mongo/