add actions and change pages