moved logout method to top-level SDK class