removed password encryption in register.js