code: def change_password(self, user, password):
          
          if not self.__contains__(user):
              raise UserNotExists
          self.new_users[user] = self._encrypt_password(password) + "\n"
docs: Changes user password