index controller by using base controller