added delete method for show pages