Added validations to app/models/product.rb