use flask-wtf to validate form submission when editing user data