changed userId to parse data