Add a pre processing function for thread create to handle phone number to user._id substitution