added getRisk service to client