Added mongodb connection.