Add API to access the CAS server