added controller actions to index controller