Custom Log In Code Help

Hi, I attempted with your reg and login code, but I get a 500 server error. Could you please advise how you are deploying this code in Wix? Are you using dynamic pages, or just a normal page and dataset