extension methods to setup dbConnection