[Issue #68] Add Jwt Token Encryption Decryption

@ibuildthecloud 
This code is duplicated from line 134, just move out to a function.