Adding password field check.