Added mongodb for messages