Add getCartByUser in shared cart.