exercise 5 - handling the posted form values