Populate one of the custom variable and that use that in an advanced segment.
You can populate a custom variable through JS:
_gaq.push(['_setCustomVar', 1, 'loggedin', 'yes', 2]);
And then create an advanced segment in Profile > Advanced Segments > "New Segment"
- Include Custom Variable (Key 1) / exactly matching = "yes"