added ability to download active users and also view only active users