added error page routing