Fixed adding user (issue #240)