Add setting connection info function