code: def logout(self, callback=None):
          
          self.ddp_client.call('logout', [], callback=callback)
          self.emit('logged_out')
docs: Logout a user
  
          Keyword Arguments:
          callback - callback function called when the user has been logged out