basic 3-page app working