Make all page requests handle in main loop.