Bind some auth functions into the sdk.
Add logout ability to SDK.