404 Error Help

Hello!

I hope some one can help me with this. So I followed the tutorial on how to create a member log in page and also a page for them to key in their profile.

I have created 3 databases - Members, Profile and EventSign-up. Under Members button (button 2), it is a dynamic page where they key in their details. Here comes the problem, my other two buttons give me 404 error when I click on them. Under Profile, it is where I want my members to see past activities they have done. Under this dynamic page I have link boxes like their name, e-mail address to Members, so they do not need to key in their details again. For the last button it is link to EventSign-up, I did not use wix has provided, as I want them to be linked to Mmebers so there is no need for them to key in their particulars again.

Following is my code:
export function button2_onclick() {
wixLocation.to(/Members/${wixUsers.currentUser.id});
}
export function button3_onclick() {
wixLocation.to(/Profile/${wixUsers.currentUser.id});
}
export function button4_onclick() {
wixLocation.to(/EventSign-up/${wixUsers.currentUser.id});
}

I would like the specific user to see their own data. I tried removing ${wixUsers.currentUser.id} this portion and the page still shows an error.

I appreciate all the help I can get! I do not know where I went wrong, and I would like to have this site to connect to my students!