Typed in example code from MongoDB guestbook webapp tutorial