Added ability to unpublish pages