I click on system preferences, click on iCloud to login, type in my Apple ID and password, wait for it to load, then it sends me back to the login screen. I have tried nearly everything to remedy this situation but nothing is working. I am able to login to iMessage and iTunes and App store using the same Apple ID. I am positive it is the correct password. I even made a new Apple ID to see if I could login with that one and it worked. I then tried my own Apple ID again and had no luck. The dial spins next to my ID as if its working to login and then just goes back to the original login screen.
Also, the reason I am not still logged in to begin with is because I was having some issues so I signed out of iCloud and restarted my computer and when I went to sign back into iCloud, I ran into this issue.
Thank you in advance.