title: Get UserId (int) in new MVC4 application
body: <p>New MVC4 application created UserProfile table :</p>
  
  <p>UserId(int) | UserName(nvarchar)</p>
  
  <p>In controller :</p>
  
  <pre><code>  string currentUser = User.Identity.Name;  // returns UserName
  
    var mu1 = Membership.GetUser(); // returns null
  
    var mu2 = Membership.GetUser(currentUser); // returns null as well
  </code></pre>
  
  <p>I read a lot of threads and they all talk about getting Guid, which I don't even have in user and membership tables.</p>
  
  <p>Is there a way to get the UserId (int) of currently logged in User ?</p>