Getting all messages

Getting all messages from mogodb