added a action to the index controller