validating uniqueness of beer