Added Transformer for teacher resource in ResourceFactoryServer. The Transformer add uid to the teacher.