Update drupal.user.js

Hi,
there is just very small issue, where api is assigned to user and not its prototype.

[Edit]
My bad, it's ok, I did not used it properly.