process for client handler