Added connection to the database