formating routes page