removed user parameter in confirm method