To update for password matching and error messaging on edit user