change logic for receiving subscriptionId
added chat sample