use local storage for username