got template to read mongodb