How to create separate user account?

I am building on a ecommerce application. I have created registration and login page. How to create separate user account in that app. Here I am facing a problem like I am adding some product in my cart for a particular user, but the problem is when I am creating a new user in that app then the same  cart data is showing for all the users. This problem is happening not only for cart data but also for all data . Here all users can see the same data how to make separate account for all users. please need support.
1 answers

You will need to look at using XPath to constrain the data to specific users. 

It’s quite a big area, so I’d recommend you look at the Mendix Academy where they go into this in depth. Section 9 of the Crash Course is a good start, in particular 9.7.