adds new error page and sends all errors to it