if($this->data['users']->role != "admin" ||$this->data['users']->role != "teacher") exit;
$role = $this->data['users']->role; if($role != "admin" ||$role != "teacher") exit;