added server func & delete log