Remove connection get API and Add session get API