make the login_required_controller become part of the template