Added REST api for scraping new messages