diff --git a/src/Driver/Element/Wpphp/UserElement.php b/src/Driver/Element/Wpphp/UserElement.php
index <HASH>..<HASH> 100644
--- a/src/Driver/Element/Wpphp/UserElement.php
+++ b/src/Driver/Element/Wpphp/UserElement.php
@@ -27,7 +27,7 @@ class UserElement extends BaseElement
             throw new UnexpectedValueException(sprintf('Failed creating new user: %s', $user->get_error_message()));
         }
 
-        return $this->get($user->ID);
+        return $this->get($user);
     }
 
     /**
diff --git a/src/Driver/WpphpDriver.php b/src/Driver/WpphpDriver.php
index <HASH>..<HASH> 100644
--- a/src/Driver/WpphpDriver.php
+++ b/src/Driver/WpphpDriver.php
@@ -302,7 +302,7 @@ class WpphpDriver extends BaseDriver
 
         return array(
             'id'   => $user->ID,
-            'slug' => $user->user_nicename,
+            'slug' => $user->$user_login,
         );
     }
Effect the user failure fix for the WPPHP driver also

The wpphp user element class was attempting to access $user->id where
$user was already the id of the user in question. As such a `Trying to
get property of non-object` error was thrown. The create user method now
simply access $user.