Cannot reset password and stuck on login screen
I can't login to my desktop. I powered on my computer and got stuck on other user with blank username and password. I can't even select my account user account it's stuck on other user. I tried to put in my username and password which doesn't work. I attempted to reset the password in single user-mode but could not create an account. I attempted to reset the password in recovery mode but there were no users available. I checked to verify the drive was working correctly through disc utility and completed a first aid with no issues and also verified that my user profile was there. I also tried to reinstall Mac OS X Mojave and I ended in the same login screen. I'm stuck at this point, so I'm reaching out to the community in hope for a solution. Thanks!
iMac Line (2012 and Later)