add user to local table  and delete user