add relationship between user and posts