public function loginRed() { $indexService = new IndexService(); $indexService->menuData(); $this->redirect('task'); }