leaders connect to database on election