manage pages context