handled a user or a slave leave