added interaction with DB for clusterdetail