added PublicResourceController with BASIC authentication