/**
  * Sets the login sessions
  * @param UserIdentity $identity
  * @return bool True
  */
 private function _setLoginSessions($identity)
 {
     $user = $identity->getUser();
     Yii::app()->user->login($identity);
     $this->_checkForUsageOfDefaultPassword();
     $this->_setSessionData($user);
     $this->_setLanguageSettings($user);
     return true;
 }