Checking if user is active or not while incrementing the time