remove user with sudo
further fixing logging