Add risk server logic