server-client function correctly, added connectDB method