public function setupOrganization(User $user)
    {
        $guestCreateOrganization = false;
        $invitationHash = $this->session->get('newInvitation', false);

        if ($guestCreateOrganization || $invitationHash == false) {
            $organization = $this->createOrganization($user);
        }

        if ($invitationHash) {
            $organization = $this->processInvitationByHash($user, $invitationHash);
        }

        return $organization;
    }