title: Magento Custom User Registration
body: <p>I have already created a custom layout for my Magento theme which works fine. The only issue I have so far is that my registration does absolutely nothing. I have tried searching but only seem to come up with results on how to add new fields to a registration page. My current code is as follows: </p>
  
  <pre><code>    &lt;div id="user-login"&gt;
          &lt;span class="log-head loginfield"&gt;
              &lt;form action="&lt;?php echo $this-&gt;getPostActionUrl() ?&gt;" method="post" id="login-form"&gt;
                  &lt;h2&gt;You Already Have An Account&lt;/h2&gt;
                  &lt;p&gt;Please login with your e-mail and password&lt;/p&gt;
                  &lt;span&gt;
                    &lt;label&gt;Enter your E-mail address:&lt;/label&gt;
                    &lt;input type="text" name="login[username]" value="&lt;?php echo $this-&gt;htmlEscape($this-&gt;getUsername()) ?&gt;" id="email" class="input-text required-entry validate-email" title="&lt;?php echo $this-&gt;__('Email Address') ?&gt;" /&gt;
                  &lt;/span&gt;
                  &lt;span&gt;
                    &lt;label&gt;Enter your password:&lt;/label&gt;
                    &lt;input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="&lt;?php echo $this-&gt;__('Password') ?&gt;" /&gt;
                  &lt;/span&gt;
                    &lt;input class="submit" type="submit" value="Submit"&gt;
               &lt;/form&gt;
           &lt;/span&gt;
           &lt;span class="log-head registerfield"&gt;
               &lt;form action="&lt;?php echo $this-&gt;getPostActionUrl() ?&gt;" method="post" id="form-validate"&gt;
                   &lt;input type="hidden" name="success_url" value="&lt;?php echo $this-&gt;getSuccessUrl() ?&gt;" /&gt;
                   &lt;input type="hidden" name="error_url" value="&lt;?php echo $this-&gt;getErrorUrl() ?&gt;" /&gt;
                   &lt;h2&gt;You Don't Have An Account&lt;/h2&gt;
                   &lt;p&gt;Please enter your information and create an account&lt;/p&gt;
                   &lt;span&gt;
                     &lt;label&gt;Email Address:&lt;/label&gt;
                     &lt;input type="text" name="login[username]" value="&lt;?php echo $this-&gt;htmlEscape($this-&gt;getUsername()) ?&gt;" id="email" class="input-text required-entry validate-email" title="&lt;?php echo $this-&gt;__('Email Address') ?&gt;" /&gt;
                   &lt;/span&gt;
                   &lt;span&gt;
                     &lt;label&gt;Enter your password:&lt;/label&gt;
                     &lt;input type="password" name="password" id="password" title="&lt;?php echo $this-&gt;__('Password') ?&gt;" class="input-text required-entry validate-password" /&gt;
                   &lt;/span&gt;
                   &lt;span&gt;
                     &lt;label&gt;Re-Enter your password:&lt;/label&gt;
                     &lt;input type="password" name="confirmation" title="&lt;?php echo $this-&gt;__('Confirm Password') ?&gt;" id="confirmation" class="input-text required-entry validate-cpassword" /&gt;
                   &lt;/span&gt;
                     &lt;input class="submit" type="submit" value="Create Account"&gt;
                &lt;/form&gt;
                &lt;script type="text/javascript"&gt;
                          //&lt;![CDATA[
                              var dataForm = new VarienForm('form-validate', true);
                              &lt;?php if($this-&gt;getShowAddressFields()): ?&gt;
                              new RegionUpdater('country', 'region', 'region_id', &lt;?php echo $this-&gt;helper('directory')-&gt;getRegionJson() ?&gt;, undefined, 'zip');
                              &lt;?php endif; ?&gt;
                          //]]&gt;
                &lt;/script&gt;
            &lt;/span&gt;
  &lt;/div&gt;&lt;!--/user-login --&gt;
  </code></pre>
  
  <p>I combined the registration and login page to fit my design. The input fields are taken directly from the base theme. After I try to test and create a user the page just refreshes and the user is never created. The same goes if I create a user from the backend and try to login the page refreshes but never logs me in.</p>
  
  <p>Any help will definitely be appreciated. </p>