add the index controller