this is a simple app code which includes navigation between pages.