The farm, the city, and the emergence of social security