fixed connection table bug for adding ip list and getting back id