add connect disconnect button