Added mongodb console code