change connect() for setCollectionToken()