@edwinlau Hi Mate!
Check if your database’s field, which contain user’s email, is “email” or not
Then the →
let loggedID = items[0].id //id field
Are you referring to ’ _id’ field or is there a field ‘id’ in your database ???
Then in your redirection to dynamic page try this →
wixLocation.to(`/nexus-upgrade/${loggedID}`);