implemented client and host pages