title: Get logged in user's id
body: <p>How can I get the logged in user's UserId? I'm using the standard system generated AccountModel. I can get the username using:</p>
  
  <pre><code>User.Identity.Name
  </code></pre>
  
  <p>but I don't see the UserId field. I want to use the UserId as a foreign key for another table.</p>