title: Is it required to map account table while doing login process
body: <p>I have two table</p>
  
  <p><strong>user_details</strong></p>
  
  <pre><code> user_id               | int(11)                           |
   role_id               | tinyint(4)                        |      
   account_id            | int(11)                           |
   username              | varchar(200)                      |
   password              | varchar(250)                      |
   is_locked             | varchar(1)                        |
   is_account_active     | varchar(1)                        |
  </code></pre>
  
  <p><strong>account_details</strong></p>
  
  <pre><code>account_id             | int(11)
  account_name           | varchar(100)
  address                | varchar(200)
  is_account_active      | tinyint(1)
  </code></pre>
  
  <p>I want to block all user once they account has been blocked. So they can't able to login into my application.</p>
  
  <p>I have add <code>is_account_active</code> column to user table so that i can avoid the joining of  <code>account_details</code> table  while user login into application.</p>
  
  <p>Is this good practice to do.</p>