Member list cannot return correct user ID

Hi everyone,

I followed the tutorial from below link.
https://support.wix.com/en/article/corvid-tutorial-building-your-own-members-area
A members list can be created automatically by member logging in.

But after I login in, I found that the user ID in the members list created doesn’t match the user ID in PrivateMembersData.
So that I cannot access created dynamic page by user ID further.

How can I solve this?
I don’t know where goes wrong.

Post your code please.