read mongo connection uri from config file