deleted old mongo connection creation