[Add] createPrincipal method added to store