title: Getting User Identity on my base Controller constructor
body: <p>I have a base Controller on my ASP.NET MVC4 website that have a Constructor simple as this:</p>
  
  <pre><code>public class BaseController : Controller
  {
      protected MyClass Foo { get; set; }
      public BaseController()
      {
          if (User.Identity.IsAuthenticated))
          {
              Foo = new MyClass();
          }
      }
  }
  </code></pre>
  
  <p>However I cannot access <code>User</code> here. It's <code>null</code>. But on my inherited <strong>Controllers</strong> it's fine.</p>
  
  <p>Thanks</p>