title: Creating a login form in CodeIgniter based on Ion Auth library
body: <p>I'm still learning my way around in CodeIgniter. </p>
  
  <p>I'd like to create a login form in my codeigniter application based on <a href="https://github.com/benedmunds/CodeIgniter-Ion-Auth" rel="nofollow">Ion Auth library</a>. </p>
  
  <p>I have installed the library following the instruction and it works fine when navigating to auth/login, auth/create_user, auth/logout, etc...</p>
  
  <p>However, I don't need a stand alone page for login, I'd like to embed the form in my homepage. When I use the sample provided login view in my homepage, I get the following errors: </p>
  
  <ul>
  <li>Message: Undefined variable: message</li>
  <li>Message: Undefined variable: identity</li>
  <li>Message: Undefined variable: password</li>
  </ul>
  
  <p>I realize that the above variables are not defined in my view, I just can't figure out where and how they should be defined and why is that they work fine in the provided sample that came with the library?</p>