I am confused by how members are being saved using https://support.wix.com/en/article/how-to-create-member-profile-pages-with-wix-code.
Is there anything special about the name "Member" - is that a keyword or can the table in these docs be named anything else? If the "Member" collection was named "Foobar" would this work?
Also, i am confused how the code is working to allow the member in the Member collection to access a page that has been marked as "members-only". If you follow the method described in these docs, when the user uses the Login form and is a new member, are they being saved in the accessible-by-me collection called Member or are they being saved in the not-accessible-by-me collection Contact, or are they being saved in both somehow? They seem to be able to access 'members-only' pages after logging in using this flow. How does the members-only page know the currentUser is a Member - is it checking the Member collection or the Contact collection?