(merge) get userId from local storage