added a connection pool to the database and related healthcheck