added socket messages and modified how we get the io instance