Add foreign key references to models, add in wtforms