Modify  webpage and add error messages