<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set(self, instance, value, **kwargs):
 """Adds the value to the existing text stored in the field, along with a small divider showing username and date of this entry. """

        if not value:
            return
        value = value.strip()
        date = DateTime().rfc822()
        user = getSecurityManager().getUser()
        username = user.getUserName()
        divider = "=== {} ({})".format(date, username)
        existing_remarks = instance.getRawRemarks()
        remarks = '\n'.join([divider, value, existing_remarks])
        ObjectField.set(self, instance, remarks)
        # reindex the object after save to update all catalog metadata
        instance.reindexObject()
        # notify object edited event
        event.notify(ObjectEditedEvent(instance))