fix authentication and add delete command