The following snippets will let you showcase content to logged-in users.

Snippet Source/Credit: Snipplr