Ruby: work in progress version of showTokens and logout