add pages controller and home page