def logout(database)
      command = Protocol::Command.new(database, logout: 1)
      self.write([command])
      reply = self.receive_replies([command]).first
      if command.failure?(reply)
        return
      end
      credentials.delete(database)
    end
def logout(database)
      command = Protocol::Command.new(database, logout: 1)
      self.write([command])
      reply = self.receive_replies([command]).first
      if command.failure?(reply)
        return
      end
      credentials.delete(database)
    end
Logout the user from the provided database.

 @example Logout from the provided database.
   node.logout("moped_test")

 @param [ String ] database The database name.

 @return [ Array ] The username and password.

 @since 2.0.0