add default index resource, log configuration and security filter.