Updating logout functionality to use StackMob's REST API