title: Yii User management, display user profile info
body: <p>Hi I am using yii with the yii-user-management extension</p>
  
  <p>I can see how it's fairly simple to get some of the current logged user info which is stored in the users table (e.g. Yii::app()->user->name)</p>
  
  <p>However I was wondering how would it be possible to get related data of the current logged user (e.g. user email which is stored in the profiles tables)</p>
  
  <p>in the YumUser.php model file there is a relation</p>
  
  <pre><code>$relations['profile'] = array(self::HAS_ONE, 'YumProfile', 'user_id');
  </code></pre>
  
  <p>However I am not sure how to use this directly in a View file</p>