How Can I Redirect Login Page If Do Not Login In Yii Framework?

I have the actionLogin and create cookie like here :

public function actionLogin()


        $this->layout = 'login';

        $model=new LoginForm;




            if($model->validate() && $model->login()){          

                $cookie = new CHttpCookie('loginSuccess',$model->username);

                $cookie->expire = 604800;


                Yii::app()->request->cookies['loginSuccess'] = $cookie;         








And Now I have some controllers which must check to login before access controllers, if not login, it must redirect to login page, how can I work for this ?

thankyou very much

I already replied to your question