add validation to add cart