if statements for deleting auth