Included catching exception in Chatserver.register()