Hooked up register function and list clients