The message class `customdata` property is automatically JSON encoded via magic setter method, so we can't append to it directly.
We should complete the deletion process using the same user that started it. Added a new param to loginas() to prevent the event to be generated as there is no need to generate an new event for that as the user didn't explicitly loginas again.