title: How to create simple Registration and login using Laravel 5.1?
body: <p>I'm creating a simple registration form using a tutorial.<a href="http://blog.cubettech.com/how-to-create-user-registration-form-in-laravel#comment-195" rel="nofollow">LINK</a> I created everything mentioned there and additionally I added the <strong>Collective\Html\HtmlServiceProvider::class</strong> to my <strong>app.php</strong>. But when I run this app in my broswer using this url <code>http://localhost/ptl/public/register</code> i get this:</p>
  
  <pre><code>&lt;form method="POST" action="http://localhost/ptl/public/register_action" accept-charset="UTF-8"&gt;&lt;input name="_token" type="hidden" value="roIXm176ZnQyTyYcXjm7Qif7mg2NXdIX0lCZ55z0"&gt;
  Name :
  
  &lt;input name="name" type="text"&gt;
  
  Email :
  
  &lt;input name="email" type="text"&gt;
  
  Password :
  
  &lt;input name="password" type="password" value=""&gt;
  
  Confirm Password :
  
  &lt;input name="cpassword" type="password" value=""&gt;
  
  &lt;input type="submit" value="Submit"&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>and my Controller in <strong>app/http/controllers</strong> folder
  and my view in resources/views folder
  I'm confused about where to create the <strong>model</strong> class and how to use it with the controller and the view.</p>