My code looks like this
<!- Message button -->
<?php if(osc_is_web_user_logged_in()) { ?>
<?php if(function_exists('im_contact_button')) { im_contact_button(); } ?>
<?php } ?>
<?php echo veronika_banner('item_sidebar'); ?>
I need to have the button always appear, but only the registered user can send it