the code you had could be leaking details between users because you are modifying the actual templates themselves, not copies for each service call.