The president welcomed the return of the hostages and pledged to keep working until all hostages are brought home.