call page of the app with end option