title: send friend request to user using xmpp and openfire
body: <p>hello i have used openfire as a server and want to send friend request for that i am using following code</p>
  
  <pre><code>- (XMPPRoster *)xmppRoster {
      return [[self appDelegate] xmppRoster];
  }
  
  -(IBAction)SendFriendRequest:(id)sender
  {
      XMPPJID *newBuddy = [XMPPJID jidWithString:@"test1@192.168.4.21"];
  
      [[[self appDelegate]xmppRoster]addUser:newBuddy withNickname:@"test user 1"];
  }
  </code></pre>
  
  <p>i am getting this type of log</p>
  
  <pre><code>&lt;iq xmlns="jabber:client" type="error" to="192.168.4.21/de4fd927"&gt;&lt;query xmlns="jabber:iq:roster"&gt;&lt;item jid="test1@192.168.4.21" name="test user 3"&gt;&lt;/item&gt;&lt;/query&gt;&lt;error code="401" type="auth"&gt;&lt;not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"&gt;&lt;/not-authorized&gt;&lt;/error&gt;&lt;/iq&gt;
  </code></pre>
  
  <p>i am unable to send request to "test1" has been logged in spark.</p>
  
  <p>Any help would be appreciable!</p>