Whenever I click the register button on one of my html pages, all 5 commented steps in my JavaScript file run, although I don\'t think everything is working the way it should be