Fixing AutoLogin, I believe it works fine now.