added delete page method