some changes to delete user