Updated find groups AJAX call