issue #49: added endpoint switch in construct to allow use of non-auth content