title: cakePHP 2 forms in the same view not working
body: <p>I have a cakePHP application and I would like to have my login and signup forms to be in the same page I followed this tutorial : <a href="http://bakery.cakephp.org/articles/RabidFire/2010/06/26/multiple-forms-per-page-for-the-same-model" rel="nofollow">http://bakery.cakephp.org/articles/RabidFire/2010/06/26/multiple-forms-per-page-for-the-same-modeland</a> I was able to make the signup part working  however the login part is not working I'm getting the following error : "Missing Database Table Error: Table tblforumuserlogins for model Tbluserlogin was not found in datasource default." 
                                                                                             This is the controller I'm using :
      
  
  <pre><code>    class TblusersController extends AppController {
  
          public function signup() {
              $this-&gt;loadModel('Tbluser');
              $this-&gt;loadModel('Tbluserlogin');
  
              if (!empty($this-&gt;data)) {
                  if (isset($this-&gt;data['Tbluser'])) { // Check if the signup Form was submitted
  
                     $this-&gt;Session-&gt;setFlash("SignUp Form was submitted.","notif");
  
                  } else if (isset($this-&gt;data['Tbluserlogin'])) { // Check if the login Form was submitted
                      $this-&gt;Session-&gt;setFlash("Login Form was submitted.","notif");
                  }
  
              }
          }
      }
  ?&gt; 
  </code></pre>
  
  <p>The models I'm using are :<br>
  Tbluser.php </p>
  
  <pre><code> &lt;?php
  
      class Tbluser extends AppModel{
  
          public $validate = array(
              'username'=&gt;array(
                  array(
                      'rule'=&gt;'alphaNumeric',
                      'allowEmpty'=&gt;false,
                      'message'=&gt;'Invalide Username!'
                  ),
                  array(
                      'rule' =&gt; array('minLength', '4'),
                      'message' =&gt; 'Username has to be more than 3 chars'
                  ),
                  array(
                      'rule'=&gt;'isUnique',
                      'message'=&gt;'Username already taken!'
                  )
              ),
              'password' =&gt; array(
                      array(
                          'rule' =&gt; 'alphaNumeric',
                          'allowEmpty'=&gt;false,
                          'message' =&gt; 'Password must be AlphaNumeric!'
                      ),
                      array(
                          'rule' =&gt; array('minLength', '4'),
                          'message' =&gt; 'Username has to be more that 3 chars'
                      ),
                      array(
                          'rule' =&gt; array('confirmPassword', 'cakehashedpassword'),
                          'message' =&gt; 'Passwords do not match'
                      )), 
              'email'=&gt;array(
                  array(
                      'rule'=&gt;array('email',true),
                      'required'=&gt;true,
                      'allowEmpty'=&gt;false,
                      'message'=&gt;'Invalide email adress!'
                  ),
                  array(
                      'rule'=&gt;'isUnique',
                      'message'=&gt;'Mail adress already taken!'
                  )
              )
          );
      }
      ?&gt;   
  </code></pre>
  
  <p>The Tbluserlogin.php model :</p>
  
  <pre><code>&lt;?php 
  class Tblforumuserlogin extends Tblforumuser{
  
  }
  ?&gt;      
  </code></pre>
  
  <p>my view file is "signup.ctp"</p>
  
  <pre><code>&lt;h4&gt;Sign up&lt;/h4&gt;    
  &lt;div&gt;&lt;?php echo $this-&gt;Session-&gt;flash();?&gt;&lt;/div&gt;
  &lt;?php                   
  
  echo $this-&gt;Form-&gt;create("Tblforumuser", array('url' =&gt; '/Tblusers/signup')); 
  echo $this-&gt;Form-&gt;input('username' ,array('label'=&gt;'Username&lt;b style="color:red;"&gt;')); 
  echo $this-&gt;Form-&gt;input('password' ,array('label'=&gt;'Password&lt;b style="color:red;"&gt;','type' =&gt; 'password')); 
  echo $this-&gt;Form-&gt;input('email' ,array('label'=&gt;'Email&lt;b style="color:red;"&gt;'));
  echo $this-&gt;Form-&gt;end('Register');
  
  ?&gt; 
  
  &lt;h4&gt;Log in to Ohyeahhh&lt;/h4&gt; 
  &lt;div&gt;&lt;?php echo $this-&gt;Session-&gt;flash(); ?&gt;&lt;/div&gt;
  &lt;?php echo $this-&gt;Form-&gt;create("Tbluserlogin", array('url' =&gt; '/Tblusers/signup'));  ?&gt;
  &lt;?php echo $this-&gt;Form-&gt;input('username' ,array('label'=&gt;"Username :")); ?&gt;
  &lt;?php echo $this-&gt;Form-&gt;end('Login'); ?&gt;               
  </code></pre>
  
  <p>Thank you.</p>