This is an example of use of the meteor package konecty:user-presence to track user presence.
http://user-presence-example.meteor.com/
git clone https://github.com/Konecty/meteor-user-presence-example-chat
cd meteor-user-presence-example-chat
meteor