social network example taken from https://github.com/Swiftam/book-node-mongodb-backbone