title: Yii Framework & user authentication
body: <p>I am new to MVC, just a few doubt</p>
  
  <ol>
  <li><p>I think "attributeLabels" should belongs to VIEW.</p>
  
  <p>Because it is not a logic rule of data, It's about presentation of data.</p>
  
  <p><img src="https://i.stack.imgur.com/NNQiM.png" alt="enter image description here"></p>
  
  <hr></li>
  <li><p>I wonder why the login and authenticate is put in MODEL is good idea.</p>
  
  <p>I will consider that there should be only one design of "How to login" or "What will you check when user login" in the whole site. I am not sure, but I feels like the Customization of "login and authenticate"  should be some where out of MCV, like "protected/config/main.php". Or separate in someWhere. login and authenticate in MODEL quite strange in my concept.</p>
  
  <p><img src="https://i.stack.imgur.com/9m2YC.png" alt="enter image description here"></p></li>
  </ol>