diary list and search function