title: Sails.js create Index(root) Controller
body: <p>I was wondering if there is a way to have an index controller with an index action. my root is a login page and I wanted to detect if the users session is already authenticated and if so redirect them to another page.</p>
  
  <p>Is there specific notation for how the controller is named? I have already tried IndexController.js and MainController.js. I can't seem to find anything in the documentation about this.</p>
  
  <p>Sails.js Ver: 0.11.0</p>