implement client pages and market pages