Sending to server completely functional