change message number to 25 per page, attempt at pagination almost complete