changes to gem file and added product validations in product model