Fix adding user

Fix creation of new user (was previously broken by #61)

Close #77