when method is POST then to parse form