added foreign key to tasks table