updating web sockets so that uid is populated for socket calls