database and connection added