server and view: createUser, updateUser: bugfixes