PHILADELPHIA (AP) — His own legacy on the line, President Barack Obama implored Americans to elect Hillary Clinton to the White House, casting her as a candidate who believes in the optimism that fuels the nation's democracy and warning against the "deeply pessimistic vision" of Republican Donald Trump.