Validar y delete funcionando