A model to track user location both in online and offline modes.