Pubnub integration for LiveResource