added delete user logic