def change_password(self, new_password):
        """ It allows users to change their password.

        Args:
            name (str): Name of account.