Fix clientLogin procedure. Add admin registry.