Pulled admin and preferences functionality out of pages controller
Merge pull request #130 from tmcyf/refactor-pages-controller

Pulled admin and preferences functionality out of pages controller