controller and templates for external pages