Connected with database.