Keeping track of users and number of devices they are logged in