add index controller