Urban travel demand model with endogenous congestion