add staticpages controller
finish chpt3