add index for base_controller and admin/user controller