who was barack obama before he became the president?