Logger and database connection added