routing requested pathname