Added mongodb connection to entitydb