changes to message form, input validation