Added front-end password checking based upon backend rules.