Added more logging to refresh token logic