President Obama hits out at his critics