add pages ontroller