Implemented get newest message REST service