Added web API to retrieve sessions