added (de)activation to Page