Adding mongodb connection