add getRandomServerLoginIp function

git is awesome, thanks you Linus