Add error index controller