add diary detail, pagination to list