when did barrack obama president was it 2009 or 2008?