Only ouput action links if user is logged in

Maybe this could be solved smarter and for WP.com it would be great to have somethign like is_private_blog to ouput the action links too - but this would be fast fix for https://github.com/Automattic/P2-Resolved-Posts/issues/5