added static pages controller
finished chapter 3