crconnecting to mongodb