foreign key assoc for user and app done