added console message to sendData. added address variable for server