Add relationship to post and user models.