Added pages controller
Added layout