Dai un'occhiata a questa serie di DailyJS. Utilizza MongoDB e la gestione delle sessioni https://dailyjs.com/tags.html#lmawa