Fixing a bug in the xmpp user creation