switched to db.queryAccessRoles to read userroles, couple of style changes, fixed to 'read signers' function