I'm trying to implement the authentication techniques documented in Larry's awesome blog post. Here's the issue: Correct login credentials are entered into the AJAX login form on the home page. Upon pressing enter, a new Login form opens and no indication is present that user is authenticated. If that login form is then populated, again no further indication is present that we have authenticated.
public function actionLogin()
$model= new Users();
// Yii::app()->sessiion[username]= Yii::app()->model($username);