refactored code to coply with flask-wtfomrs
refactored code to coply with flask-wtfomrs

Royal-Society-of-New-Zealand/NZ-ORCID-Hub,Royal-Society-of-New-Zealand/NZ-ORCID-Hub,Royal-Society-of-New-Zealand/NZ-ORCID-Hub,Royal-Society-of-New-Zealand/NZ-ORCID-Hub