Update user-editDelete

cleaned up the code