route should be set to different pages