#1052 API: implemented methods for create / update users