working passing post data