Added message form validation