add resources controller and index actions