first version of authenticated dbdemo