ok, I went to control panel->remove software->double click avast->update to latest version.
I rebooted and I can log in again.
Possibly an error with the update process?