Made the server calls of getting the locations and the player locations synchronous