database works - displays 10 most recent msgs