added mongodb connection for storing content