Added password verification.