fix create and delete metadata of user