public function create() { $obj = new UserRole($this->db); echo json_encode($obj->add($this->f3->get("POST.postdata"))); }