changes to register.js and register.html
started work on the register button