Modified the registration form for password input