Added form helper, validation and error reporting.