Added validation to adding an animal