added verification of password input (2nd input of password).