xml implementation for user