use DataRequired and StringField instead of depreciated Required and TextField classes