Establish a Connection to the Database