Implemented get_active_users handler.