Thanks Chuck but I already have the showproduct page working using this:
Content visible to verified customers only.
That code above works great on the showproduct page because the user ID is constant. I am trying to get it to work on the showcat page. I am still going to try the code you posted since my attempts on the showcat page have failed.