fix bug when creating new user

Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com>