use userid and not username in matrix dict