Fixed #8 - Wrong foreign key for user_id field