structural change: use object on flight and user; add foreign key