added basic cart functionalities