added foreign keys to submissions model