added destroy functionality to cliente