dashboard NOT working, userId is undefined in iter