method delete in app helper and delete if statment