1. The Democrats had control of both the House and the Senate for only two years. In the mid-term elections, the House won a Republican majority and the Democrats lost their filibuster-proof supermajority.
2. Obama endorsed the Bush tax cuts only on the middle class. He wanted those tax cuts to expire for the wealthiest. However, that didn't happen because of negotiations with Congress to get other things.
3. And yet those detainees were blocked from coming to U.S. soil by Senators who thought that such a prison for detainees on U.S. soil would be too much of a security threat.
So you are quite selective in regards to Obama's presidency by saying that he should have done everything he campaigned on in his first two years.
Especially when you oppose his platform and voted for Republicans into other offices to oppose him.