hide new post and comment link if the user is not logged