title: Avoid to use passport.serializeUser functions
body: <p>is there any way to avoid the use of this functions into a node.js app?</p>
  
  <pre><code>passport.serializeUser(function(user, done) {
    done(null, user);
  });
  
  passport.deserializeUser(function(user, done) {
    done(null, user);
  });
  </code></pre>