adding mongodb dependency