Make MainController to return last 10 messages