Ahmadinejad officially confirmed as president