<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def configure_user(self, user, attributes, attribute_mapping):
 """Configures a user after creation and returns the updated user. By default, returns the user with his attributes updated. """

        user.set_unusable_password()
        return self.update_user(user, attributes, attribute_mapping,
                                force_save=True)