apply page routing