The president manages foreign policy under his role as