fixed delete with login and without a confirmation