index page shows result of GET and POST