Competition and nationally optimum resource allocation under the presence of urban traffic congestion