Made connection with Database