optimize top user using local storage