added view cart functionality