Reforms to the taxation , healthcare , pension , and social welfare systems helped Slovakia consolidate its budget and get on track to join the EU in 2004 and to adopt the euro in January 2009 .