use local storage for storing nickname instead of using Cookies