fixed delete account functionality