title: Deny user to login and alow him after 1 hour
body: <p>I'm trying to block user to login (Because he temporarily banned) and allow him after hour to login again.</p>
  
  <p>Now I've no idea how should I do that, I think that I should use htaccess to deny the user but I dont know how to allow him connect once again.</p>
  
  <p>I'm using xml files as database (I awere security issuses), here is example for my xml file:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;user&gt;
  &lt;name&gt;none&lt;/name&gt;
  &lt;lastname&gt;none&lt;/lastname&gt;
  &lt;password&gt;e10adc3949ba59abbe56e057f20f883e&lt;/password&gt;
  &lt;birthday&gt;none&lt;/birthday&gt;
  &lt;country&gt;none&lt;/country&gt;
  &lt;gender&gt;Male&lt;/gender&gt;
  &lt;age&gt;1&lt;/age&gt;
  &lt;email&gt;none&lt;/email&gt;
  &lt;level&gt;Members&lt;/level&gt;
  &lt;date&gt;22/06/2013&lt;/date&gt;
  &lt;/user&gt;
  </code></pre>
  
  <p>As you can tell i use md5 for password.</p>
  
  <p>So I want to temporarily ban user for hour then active his account again, how can i do that?</p>