title: XMPPFramework - How to get currently logged-in user's display name
body: <p>In my application utilizing XMPPFramework, I have a login page to authenticate one user.
  Once logged in, I wish to show the <strong><code>displayName</code></strong> of the user in my status page. The displayName is a NSString in <strong><code>XMPPUserCoreDataStorageObject</code></strong>.</p>
  
  <p>The following line returns me the <strong><code>XMPPJID</code></strong> of my currently logged-in user. I thought this would be useful to check against my roster to get his <em>displayName</em>.</p>
  
  <pre><code>[[[self appDelegate] xmppStream] myJID];
  </code></pre>
  
  <p>However, placing the above in the code below  returns me a <em>null</em>.</p>
  
  <pre><code>XMPPUserCoreDataStorageObject *user = [[[self appDelegate] xmppRosterStorage]
                                             userForJID:[[[self appDelegate] xmppStream] myJID]
                                             xmppStream:[[self appDelegate] xmppStream]
                                             managedObjectContext:[[self appDelegate] managedObjectContext_roster]];
  </code></pre>
  
  <p>Appreciate any advice on how to go about retrieving the displayName of the current user.</p>