private void handleLoginResponse(LoginResponseMessage message) {
    if (authenticationListener != null) {
      if (message.isSuccessful()) {
        isAuthorized = true;
        loggedInUser = message.getUserData();
        authenticationListener.loginSuccesfull(this.loggedInUser);
      }
      else {
        authenticationListener.loginFailed(message.getMessage());
      }
    }
  }