I tend to agree with Kim on this ... but if you gotta do it this way, decide if you want the links when not logged in to just be text with a headline ... login to access or something ...

Then customize the links to either be active or go elsewhere if the customer is not logged in ...