use wtforms for validation purposes