key presses send requests to the server