add postForm implementation
test for postForm