added pages_controller with index, show, create
update and destroy methods for pages_controller