add connect_via to db table and prepare for implementation