set proper viewing for public and private posts.