Initialize social activity with mongodb.