added mechanism to insure token refreshes every 59 minutes