Check should be for credentials.userNameBlockedAccount instead of credentials.userName