fix bug in the user cart

fix bug in the user cart and prevent entering a product twice in the
cart