President Obama endorses same sex marriage