move some client_info functions to main actions file.