modified delete user and delete method in adapter