more work for chapter 6 web app - upto page 210