Got JWT to encode properly

still getting a signing error, but the JWT now decodes at a jwt decoder