Block not logged in users from accessing the page

This is a workaround to check whether a visitor is logged in or not. It should work with the old imvu system as well the new one where certain restrictions apply.

This code snippet was originally contributed by Prôductions Imvu. Go to the author' imvu website.