Added Pagehandler
Fixed pageHandler