Fix user registrtion