replaced ignore equal case for password check with equal