server functions written for high scores and friends