add xml/json support for users