adding more logging around refreshing of tokens