More correct way to publish for logged in users