[connectionagent] fix ask user, and hook up autoconnect signal