text box input with POST request handling