title: Codeigniter index function
body: <p>All Codeigniter controllers seem to start with:</p>
  
  <pre><code>public function index()
  {
    // stuff
  }
  </code></pre>
  
  <p>Is this a requirement or just good practice? I have an instance where an index may not be needed, for example I have a controller called "Auth" and in it there is a function to <strong>register</strong> and a function to <strong>login</strong> - you could argue that the login function is of higher priority but in the interest of naming convention I would rather name my functions. What is best practice here?</p>