added send uid function to hc-server