Pass client struct throught handler