add a error page and update the display issue of validation error.