addded a pages controller