style settings modal and save username in localstorage