Connected interaction to database