Added password input fields and password validation.