getting cart from db on cart page