add minor changes to clean up ES index action in the controller and nav bar