title: Best practice to check data of a user before logging in
body: <p>There is a table that keeps a user's details. An admin can lock this user by setting the column called locked. Once the user is locked they cannot login. I am using The WebSecurity.Login to login. As of now I am letting the user to login, then it checks if they are not locked and if they are instead of home page they are redirected to locked page. </p>
  
  <p><strong>What is the best practice that I can use so that the user doesnt gets logged in, check the field and gets redirected. This is in MVC 4</strong></p>
  
  <p>Thanks in advance...</p>