sending and validating forms