adds typehinting for getJWTData
moves private method to bottom