You asked:

does president obama have a middle name

Yes. Barack Obama has at least one middle-name.
Barack Obama
Barack Obama
Barack Obama