added templating to control center pages
templated the auth pages. lots of redundancy. we should revisit.