add configs file; add connect history log