title: Using Ion Auth as a separate module in the HMVC structure
body: <p>I am interested in using ion auth for a project of mine which is running on the HMVC pattern. The application is written in Codeigniter.</p>
  
  <p>The problem I face is once the ion auth is placed in the /app/modules/auth folder, when I try to access the module I get the below error:</p>
  
  <blockquote>
    <p><strong>HTTP Error 500 (Internal Server Error)</strong>:<br>
    An unexpected condition was encountered while the server was attempting to fulfill the request.</p>
  </blockquote>
  
  <p>Please help me out here, I am sure that I am having some sort of a configuration/path problem but just can't figure out where. </p>
  
  <p>I have simply downloaded the ion_auth files from github and placed the extracted files as it is in the module folder I removed all the lines where it loads the libraries such as database, session since I have used the config to auto load them. But I left the loading of the ion_auth library.</p>
  
  <p>In the module folder modules/auth I have a similar application structure with the module specific config, libraries, etc folders.</p>
  
  <p>Let me know where I must have done wrong, I will continue to search and fix this problem and post if I have any luck.</p>