title: atk4 SQLAuth in Frontend.php
body: <p>in Frontend.php I replaced this:</p>
  
  <pre><code>$this-&gt;add('BasicAuth')
          -&gt;allow('demo','demo')
          // use check() and allowPage for white-list based auth checking
          //-&gt;check()
          ;
  </code></pre>
  
  <p>With this:</p>
  
  <pre><code>$this-&gt;add('SQLAuth')-&gt;setSource('user','email','password')
  // use check() and allowPage for white-list based auth checking
  //-&gt;check()
  ;
  </code></pre>
  
  <p>based on this you tube video: <a href="http://www.youtube.com/watch?v=0_OROS53Fq8&amp;feature=relmfu" rel="nofollow">http://www.youtube.com/watch?v=0_OROS53Fq8&amp;feature=relmfu</a></p>
  
  <p>However, the SQLAuth will not work.  I get this error:</p>
  
  <pre><code>Fatal error: Call to a member function loaded() on a non-object in
  C:\wamp\www\atk4\lib\Auth\Basic.php on line 242
  </code></pre>
  
  <p>My table name is correct, and i know the connection is working and there are users in the table, because I built a user registration form and CRUD that works as I walked through the you tube video.</p>
  
  <p>Anybody have an idea what I am doing wrong here?  </p>