added ability to delete pages
added prompt to make sure you want to delete pages
Made some minor changes