hides links for signed out users and users who are not posts/comments authors