edit,research devise and cancan gem