Getting token is working