who was the president when the 14th amendment was written?