database connected and working