Added function for check overdue and modified search function(still doesn't work)