updates to add an error page