Working /createConnection and /destroy methods