I made a menu item called logout. I want that to show only when a user is logged in.
have the login only show for public people and hide when people are logged in
and hide Signup when people are logged in
$user = JFactory::getUser();
$userID = $user->get('id');
if($userID!=0):
print '<style type="text/css">.only_not_registered { display: none; }</style>';
endif;