Chat feature: list of who is on the page

I would really like this chat to have a list of who was currently on the page.

Obviously that wouldn't work unless everyone looking at the page is logged in, so hiding the chat unless someone is logged in would also be good.