Share part 2

lato client e fix lato server