attempting to implement publish/subscribe.. bug .. client doesnt seem to subscribe, but records can be inserted to server