/** * Signs out the user */ public function actionSignout() { \frontend\models\Users::logout(); return $this->redirect('/'); }