I was just hardcoding a quick bit into my Joomla template. Which I'll hopefully make into a component when I have a little more time. What i needed was a bit of script that showed something if the user is logged in
$user =& JFactory::getUser();
if ($user->guest) {
echo 'message for guest';
} else {
$username = $user->get('username');
echo 'message for member';
}
###############################################################
################################################################
joomla finding out if someone is logged in
joomla hard coded check for registration
joomla is user logged in