updated wiring of datasource.
updating security config.