fixed user form logic in delete button