Added the index controller