code: def register(self):
          
          user = {}
  
          print('--------------------------------------------------------------')
          print('Welcome to the user registration process.')
          print('--------------------------------------------------------------')
          print("To continue you must fill the following fields.")
          for attribute, value in self.attributes.items():
  
              is_required = attribute in self.required
              field_name = value['field_name']
              pattern = value['pattern']
  
              if attribute != 'password':
                  user[attribute] = self.ask_question(field_name, pattern,
                                                      is_required)
              else:
                  user[attribute] = self.ask_question(field_name, pattern,
                                                      password=True)
  
          return self._users_client.register(user)
docs: Register a new user.
  
          This method will ask for user attributes and create the user in
          Napps server, when All required fields is filled.
  
          Returns:
              result(string): Response of user registration process.