How to display only when user is logged in.

I was wonder how to accomplish this. I want the user to only see the chat plugin only when their logged in. I can see it as a vistor.