putting SQLAlchemy in forms