add index action in controller