I have chat app in django at `http://mydomain.com/chat/`   

I want to display logged in users in the sidebar

but I don’t want users who are logged in on main site `http://mydomain.com` which is different app

how can i do this  

or if its not possible is there any other way to do it?