Democrats secure majority in Congress