Added client servlet codes