[#16] added logic for deleting users