remove and cancel on userdetail working