title: Implementing forms authentication in asp.net mvc application
body: <p>I am developing an ASP.NET MVC4 social networking application which will be having 5 types of users namely student, administrator, supervisor, providers, etc. </p>
  
  <p>I want to use forms authentication as it is a internet application. My database has <code>USERS, ROLES &amp; FEATURES</code> tables along with other tables in SQL server. 
  How do I implement the authentication in ASP.NET MVC?
  Where do I store the logged in user's information? (<code>e.g. session, viewbag, tempdata, etc.</code>) and what would be the best approach to implement this? I do not want to use default websecurity feature provided by MVC.</p>
  
  <p>A application with source code would help a lot. I tried NerdDinner, but it is using default websecurity classes which I do not want to use.</p>
  
  <p>Kindly help me on this.</p>