testing login/logout, localstorage