Fix error page rendering bug due to changing theme.template_path method name.
Add ability to create new page.