Added automatic refreshing for active users.