added endgame server lgoic