private function setLoggedinUser(
        UserModel $model,
        User $adapter
    ) {
        $wp_user = new WP_User($this->getCurrentUserId());

        $adapter
            ->setModel($model)
            ->setAdaptee($wp_user)
            ->connect();

        $this->setUser($adapter);
    }