add the error page config and error page and use JSON obj to pass params to pages