Node_tuts_episode_13 is a project mainly written in JavaScript, it's free.
Node Tuts episode 13
See Node Tuts episode 13 - Authentication in Express - Sessions and Route middleware
http://nodetuts.com/tutorials/13-authentication-in-express-sessions-and-route-middleware.html