Well turning off avast was a bad idea…

Can you boot into safe mode?(F8 on startup)

If you can go into safemode scan with avast and then removed what is infected and detected by avast. After that download malwarebytes if you can’t still log in normally, go to safe mode with networking.

www.malwarebytes.org

What OS are you using? And what other security software is on your system?