added session/socket manager