finish gui send data to server