forms validation and presentation