This is the project described in the tutorial at:

http://scotch.io/series/easy-node-authentication