add pages contoller
pages pretty complete