a little DRYer

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
unpublished only for logged in users, and a clear visaulisation

Signed-off-by: Alexander Skjolden <alex@plastboks.net>