register creates principle and member db entries