fix: if username is required email is checked for existence instead