Adding logout functionality
Merge pull request #714 from bhariharan/smart_sync_sample

Adding logout functionality