I've changed the code of /modules/sideboxes/information.php so that the link to "Page 4" only shows when a customer is logged in

if ($_SESSION['customer_id']) {
$information[] = '<a href="' . zen_href_link(FILENAME_PAGE_4) . '">' . BOX_INFORMATION_PAGE_4 . '</a>';
}


But I have just realised that this bypasses the customer authorisation process, I want the link to only show when an authorised customer is logged in? At the moment the link shows as soon as a customer registers (not approved)

Any suggestions please?

Thanks