27-inch iMac with Retina 5K Display will not complete login
I was having some performance problems with my 27-inch iMac with Retina 5K Display last night, so I tried rebooting it. It restarted with the Apple logo, got to the login screen, and I entered my password. It seemed like it was working normally for a moment, but the login progress screen never turned into the Desktop view. I force shut it down with the power button and restarted it with the same results. I disconnected my external hard drives but it didn't make a difference.
I tried starting up the computer into Disk Utility. It did not find any problems with the hard drive, so I restarted the computer again. Once again, my login information was accepted but it didn't show me the desktop.
iMac 27″ 5K, macOS 10.14