configure IndexController