Trying to fixed broken auto user login

After reloading a profile page, the client is logged in as this specific user, I hope this will fixed it.