fixed delete_user endpoint bug