added CAS url and elastic search grouping ability