mongodb query with userid