adding claim type Type
removing decryption from encode/decode process, making standalone methods
fixing base64 encoding with a different kind of url encoding (manual)