link posts and tags together via a pivot tabl