hw6 validate server