added deleting of pages (TODO: confirmation on delete)