edited controller
added pages