added delete action
fixed delete document
converted subfolders to table and add subfolder count badge