hooking up session management so that we don't continuouousussly generate new clients on socket connections