add localStorage for authentication
store hanziOption in local storage