use the existing is_logged() method