get rank from server