install default error handler for 403, 404, 500