Token manager working