Alter logic for delete_user() function.