add staticPages controller
finished chapter 3