configuring the datasource