combine localstorage && server