made the registratikon client use logging instead of system out println