pass client model to the view