allowed metadata database removal if logged into test account
close #126, close #125, close #119