fixed login/localSotrage