added snacks crud functionality