controller for general pages created