remove errorhandler in api.index replaced by helpers.blueprint