regain token after resign