Adding tree to client UI