added pages controller file