Make userId a primary key for users collection