function activity() { $this->redirect(HTTP_ROOT . "dashboard"); die; $userdata = $this->User->findById(SES_ID); $this->set('userdata', $userdata); }