Updated register form with secure password field