Track user is online or offline.