private void writeResponse(ClientMessage message, Connection userConnection) {
    try {
      ObjectOutputStream output = userConnection.getOutputStream();
      output.writeObject(message);
      output.flush();
    }
    catch (IOException e) {
      // oops
    }
  }