added buttons for search/remove/create/reset documents in header not fully working