Controller: now id is a object