Fixed TryGetToken to return int value
Fixed sending unencrypted data

Still need to fix encrypted data