added base64 encoding to make the tokens more transferable
added pry because I just cant go back to IRB