passwd for db, json view, tests