Keep track of when users are online, and make sure they go 'offline' if not active.
Keep track of when users are online, and make sure they go 'offline' if not active.