client page setup and working