added index() to controller so it is abstracted to force use of index class. moved url redirect to url helper