mongoCollection attribute visibility changed to protected so subclasses can access this attribute to query the database