Both parties have slim majorities in both chambers of Congress which could result in troubles when trying to pass legislation.