Changed all drupalgap.user code to Drupal.user.