starting cart logic with frontend session