added paging and search to drafts handler