Updated Path class to match drupal 8.x functions.
Updated Path class to match drupal 8.x functions.
Updated User class to match drupal 8.x functions.