Can We Implement Different Login Url For Sessiontime Out And Accesscontrol ?

Is it possible to impliment 2 login url in Yii ?

that is, if a sessiontimeout occurs user should be redirected to site/login.

But when an unauthenticated user tries to access the url he should be redirected to site/loginaccount.

Is it possible?

this is the code in the config file for session timeout and initializing login url


'components'=>array(

    'user' => array(

        'class' => 'WebUser',

        'loginUrl' => array('site/loginaccount'),

        'allowAutoLogin' => true,

    ),

        'session' => array(

       'class'=>'CDbHttpSession',

        'timeout'=>$params['session_timeout'],

        'autoStart'=>true,

    ),

This is code in my controller, which redirects to site/loginaccount if user is Guest


  return array(

        array('allow',  // allow all users to perform 'index' and 'view' actions

            'actions'=>array('Createdeal'),

            'users'=>array('*')

        ),

Please help