hooked up templates to client session views