Connection to BDD in a separate file, getNews working