changed todo model to use user table usernames as foreign key