process user input on server