Hi
I had create a permission page for member to download the file. But I want the member to get in this permission page before need to login. So, I want to custom the login page and use own database system to login. So that I can manage the customer info and password.
Would anyone can help and how can I do that? 
Thanks Ajit Kumar
About the code of [ wixData . query ( āuserProfileā )]. Is the āuserProfileā that means point out to own data base name? 
Yes. instead of āuserProfileā put your databaseās nameā¦
Thanks Ajit Kumar
I had replace the name of my āmembersā database but nothing happen when I click the Login Button. Would you please to point me out which part of the code have the problem. I am a new guy of learning the code. Thanks for your help! 
@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}`);