implementd the ability to remove a dog from the database