pages controller and home page added