added first snipped for mongo access
work in progress mongodb