error messages on the front end