Social dynamics of the urban