Addedd implementation of MessageController