Adds error messages and disables update password button when appropriate