fix for Chat resource not instantiated

fix for chat sample in order to instantiate the Chat managed service