Add function to add group when it comes new connection