ErrorController modified to suit with the new abstract Controller