refactoring
new HtmlForm class