added validations to the product model for the the paperclip image