Integrated pubnub and setup brain data