Finally got callbacks working to server