} else {
Logger.logDebug("mojangData is null or empty");
}
if (authentication.canLogIn()) {
try {
authentication.logIn();
} catch (UserMigratedException e) {
Logger.logError(e.toString());
ErrorUtils.tossError("Invalid credentials. You have migrated your account. Use account email instead of username");
return null;
} catch (InvalidCredentialsException e) {