title: Node.js/Passport.js work flow
body: <p>I am using the sample Passport.js Local strategy from <a href="https://github.com/jaredhanson/passport-local" rel="nofollow noreferrer">this github repo</a>. I am trying to get an understanding of the flow of the requests and what get's called and when. However when I add these two lines:</p>
  
  <pre><code>app.use(passport.initialize(console.log('initialize')));
  app.use(passport.session(console.log('session')));
  </code></pre>
  
  <p>..it seems they only <code>console.log()</code> when I first start the server. Shouldn't they <code>console.log()</code> on every request?</p>