added UID to the create new socket function
get the tests to run again