Adding password mismatch handling feature.