Got JWT to encode properly

still getting a signing error, but the JWT now decodes at a jwt decoder
Merge pull request #1 from Nebopolis/master

Got JWT to encode properly