added more checks inside UserAccount::updateUserInfoVariables()