form input to query implemented

to do: flatten with underscore and generation the request string