added features for deletion of users, including protection against self-destruction