private void handleRegisterResponse(RegisterResponseMessage message) {
    if (registerListener != null) {
      if (message.isSuccessful()) {
        registerListener.registerSuccesfull(message.getMessage());
      }
      else {
        registerListener.registerFailed(message.getMessage());
      }
    }
  }