updated to new HTTP endpoints API ("/account/reset", etc)