Register user id with socket on creation