form validation and better text sending