added first half of form
validated form
added tfoot and validated