title: In sailsjs / passport.js: How to get logged in user as object in a view?
body: <p>I want to output the Username in a view, so I need to get the user object.</p>
  
  <p>In</p>
  
  <pre><code>req.session.passport.user
  </code></pre>
  
  <p>there is only the user id (numeric), and</p>
  
  <pre><code>req.user
  </code></pre>
  
  <p>is undefined. Isn't use user stored as object in the session?</p>